{empty name="$data"}
<tr>
    <td colspan="8" class="center">抱歉，暂未找到符合条件的数据</td>
</tr>
{else /}
{foreach name="data" item="v"}
<tr>
    <td class="center">{$v.id}</td>
    <td class="center">{$v.name}</td>
    <td class="center">{$v.phone}</td>
    <td class="center">{$v.address}</td>
    <td class="center">{$v.message}</td>
    <td class="center">{$v['create_time']|date="Y-m-d",###}</td>
    <td class="center">{$v['update_time']|date="Y-m-d",###}</td>
    <td class='center'>
        <div class="hidden-sm hidden-xs action-buttons">
            <a class="green" href="{:url('admin/JoinMessage/edit',array('id'=>$v['id']))}" title="编辑">
                <i class="ace-icon fa fa-pencil-square-o bigger-110"></i> 编辑
            </a>
            <a href="{:url('admin/JoinMessage/del',array('id'=>$v['id']))}" data-info="你确定要删除吗？" class="red confirm-rst-url-btn" title="删除">
                <i class="ace-icon fa fa-trash-o bigger-110"></i> 删除
            </a>
        </div>
    </td>
</tr>
{/foreach}
{notempty name="$page"}
<tr>
    <td height="50" colspan="8" align="right">{$page}</td>
</tr>
{/notempty}
{/empty}